jquery input name value

237

jquery input name value -

var target = $('input[name="hoge"]').val();

get name of input jquery -

var name = $("#id").attr("name");

jquery get name value method -

var n = $("input[name^= 'card']").length;

Comments

Submit
0 Comments